{% set form = hookable_metadata.context.form %}

{% for payment_form in form.payments %}
    {% hook 'payment' with { 'form': payment_form, 'index': loop.index } %}
{% else %}
    {% hook 'payment#unavailable' %}
{% endfor %}
